<%--
  Created by IntelliJ IDEA.
  User: nico
  Date: 01/10/12
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<script type="text/javascript" src="<s:url value="/js/sitelevel.js"/>"></script>


<s:textfield label="Description" name="printedMaterials.description" id="description" value="%{printedMaterials.description}"  />

<s:hidden  name="printedMaterials.dated" id="altprintedMaterials.dated" value="%{printedMaterials.dated}"/>
<s:textfield label="Dated" id="printedMaterials.dated" cssClass="datepicker"/>

<s:hidden  name="printedMaterials.sentToSite" id="altsentToSite" value="%{printedMaterials.sentToSite}"/>
<s:textfield label="Sent to Site" id="sentToSite" cssClass="datepicker"/>

<s:select label="Scope" name="printedMaterials.scope" id="scope"  value="%{printedMaterials.scope}"
          list="#{'1':'Site', '2':'Multi-site'}"/>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">External EC:</label></td></tr>

<s:hidden  name="printedMaterials.sentToExternalEc" id="altsentToExternalEc" value="%{printedMaterials.sentToExternalEc}"/>
<s:textfield label="Sent to external EC" id="sentToExternalEc" cssClass="datepicker"/>

<s:hidden  name="printedMaterials.approvedExternalEc" id="altapprovedExternalEc" value="%{printedMaterials.approvedExternalEc}"/>
<s:textfield label="Approved/Notified external EC" id="approvedExternalEc" cssClass="datepicker"/>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">Local EC:</label></td></tr>
<s:hidden  name="printedMaterials.sentToLocalEc" id="altsentToLocalEc" value="%{printedMaterials.sentToLocalEc}"/>
<s:textfield label="Sent to Local EC" id="sentToLocalEc" cssClass="datepicker"/>

<s:hidden  name="printedMaterials.approvedLocalEc" id="altapprovedLocalEc" value="%{printedMaterials.approvedLocalEc}"/>
<s:textfield label="Approved/Notified Local EC" id="approvedLocalEc" cssClass="datepicker"/>

<tr><div id="div_">Statement indicating that investigator/study personnel did not vote (applicable when  the  investigator or study personnel is a member of the IRB/IEC)</div></tr>
<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple" id="cartaNoVotoLocalEc"  cssClass="datepicker"/>
        <s:hidden  name="printedMaterials.cartaNoVotoLocalEc" id="altcartaNoVotoLocalEc" value="%{printedMaterials.cartaNoVotoLocalEc}"/>
        </td>
</tr>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">Teaching Committee:</label></td></tr>
<s:hidden  name="printedMaterials.sentToTc" id="altsentToTc" value="%{printedMaterials.sentToTc}"/>
<s:textfield label="Sent to Teaching Committee" id="sentToTc" cssClass="datepicker"/>

<s:hidden  name="printedMaterials.approvedTc" id="altapprovedTc" value="%{printedMaterials.approvedTc}"/>
<s:textfield label="Approved/Notified Teaching Committee"  id="approvedTc" cssClass="datepicker"/>

<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple" id="cartaNoVotoTc" cssClass="datepicker"/>
        <s:hidden  name="printedMaterials.cartaNoVotoTc" id="altcartaNoVotoTc" value="%{printedMaterials.cartaNoVotoTc}"/>
    </td>
</tr>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;"> </label></td></tr>
<s:hidden  name="printedMaterials.copiaSelladaComite" id="altcopiaSelladaComite" value="%{printedMaterials.copiaSelladaComite}"/>
<s:textfield label="Date of Receipt of the Stamped Copy (by EC)" id="copiaSelladaComite" cssClass="datepicker"/>

<tr>
    <td colspan="2" style="text-align: center">
        <s:submit value="Save" id="printedMaterialsSave" action="printedMaterialsSave" onclick="setEmptyDates();validate();beforeSave();" theme="simple" />
    </td>
</tr>

<s:if test="printedMaterials.id != null">
    <tr>
        <td colspan="2" style="text-align: center">
            <button id="printedMaterialsClear" onclick="$('#category').change(); $('html, body').animate({ scrollTop:  $('#category').offset().top - 15 }); return false;">Clear</button>
        </td>
    </tr>
</s:if>
<s:hidden name="printedMaterials.id" value="%{printedMaterials.id}"/>
<script>
    inicializarTodaFecha();
</script>
<s:if test="printedMaterials.id != null">
    <script type="text/javascript">
        $('#scope').parent().parent().remove();
    </script>
</s:if>